package com.uidt.project.ptsj.domain;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.uidt.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uidt.framework.aspectj.lang.annotation.Excel;

/**
 * 事件信息对象 ptsj_event_info
 * 
 * @author uidt
 * @date 2024-08-13
 */
@Data
@TableName(value = "ptsj_event_info e",  resultMap = "com.uidt.project.ptsj.mapper.EventInfoMapper.EventInfoResult")
public class EventInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 事件编号 */
    @Excel(name = "事件编号")
    private String eventId;

    /** 事件来源 */
    @Excel(name = "事件来源")
    private String eventSource;

    private String glid;

    private String gltable;

    /** 房源码 */
    @Excel(name = "房源码")
    private String roomNum;

    /** 房源名称 */
    @Excel(name = "房源名称")
    private String roomName;

    /** 场所码 */
    @Excel(name = "场所码")
    private String placeCode;

    /** 场所名称 */
    @Excel(name = "场所名称")
    private String placeName;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private String eventType;

    /** 事件内容 */
    @Excel(name = "事件内容")
    private String eventContent;

    /** 反馈人 */
    @Excel(name = "反馈人")
    private String feedbackPerson;

    /** 反馈人电话*/
    @Excel(name = "反馈人电话")
    private String feedbackPhone;

    /** 反馈单位 */
    @Excel(name = "反馈单位")
    private String feedbackUnit;

    /** 处理人 */
    @Excel(name = "处理人")
    private String processor;

    /** 处理部门 */
    @Excel(name = "处理部门")
    private String procDept;

    /** 处理部门id */
    @Excel(name = "处理部门id")
    private String procDeptCode;

    /** 处理单位 */
    @Excel(name = "处理单位")
    private String procUnit;

    /** 处理方式 */
    @Excel(name = "处理方式")
    private String procMethed;

    /** 处理意见 */
    @Excel(name = "处理意见")
    private String procOpinions;

    /** 截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deadline;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date processTime;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private String status;

    /** 删除标记 */
    private String delFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建人部门id */
    @Excel(name = "创建人部门code")
    private String createdDeptCode;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:SS")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:SS")
    private Date createdTime;

    private List<PtsjFile> fileList;

    private List<PtsjEventLog> eventLogList;

    public String getGlid() {
        return glid;
    }

    public void setGlid(String glid) {
        this.glid = glid;
    }

    public String getGltable() {
        return gltable;
    }

    public void setGltable(String gltable) {
        this.gltable = gltable;
    }

    public String getProcUnit() {
        return procUnit;
    }

    public void setProcUnit(String procUnit) {
        this.procUnit = procUnit;
    }

    public List<PtsjEventLog> getEventLogList() {
        return eventLogList;
    }

    public void setEventLogList(List<PtsjEventLog> eventLogList) {
        this.eventLogList = eventLogList;
    }

    public List<PtsjFile> getFileList() {
        return fileList;
    }

    public void setFileList(List<PtsjFile> fileList) {
        this.fileList = fileList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEventId(String eventId) 
    {
        this.eventId = eventId;
    }

    public String getEventId() 
    {
        return eventId;
    }
    public void setEventSource(String eventSource) 
    {
        this.eventSource = eventSource;
    }

    public String getEventSource() 
    {
        return eventSource;
    }
    public void setRoomNum(String roomNum) 
    {
        this.roomNum = roomNum;
    }

    public String getRoomNum() 
    {
        return roomNum;
    }
    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }
    public void setEventType(String eventType) 
    {
        this.eventType = eventType;
    }

    public String getEventType() 
    {
        return eventType;
    }
    public void setEventContent(String eventContent) 
    {
        this.eventContent = eventContent;
    }

    public String getEventContent() 
    {
        return eventContent;
    }
    public void setFeedbackPerson(String feedbackPerson) 
    {
        this.feedbackPerson = feedbackPerson;
    }

    public String getFeedbackPerson() 
    {
        return feedbackPerson;
    }
    public void setFeedbackUnit(String feedbackUnit) 
    {
        this.feedbackUnit = feedbackUnit;
    }

    public String getFeedbackUnit() 
    {
        return feedbackUnit;
    }
    public void setProcessor(String processor) 
    {
        this.processor = processor;
    }

    public String getProcessor() 
    {
        return processor;
    }
    public void setProcDept(String procDept) 
    {
        this.procDept = procDept;
    }

    public String getProcDept() 
    {
        return procDept;
    }
    public void setProcunit(String procunit)
    {
        this.procUnit = procunit;
    }

    public String getProcunit()
    {
        return procUnit;
    }
    public void setProcMethed(String procMethed) 
    {
        this.procMethed = procMethed;
    }

    public String getProcMethed() 
    {
        return procMethed;
    }
    public void setProcOpinions(String procOpinions) 
    {
        this.procOpinions = procOpinions;
    }

    public String getProcOpinions() 
    {
        return procOpinions;
    }
    public void setDeadline(Date deadline) 
    {
        this.deadline = deadline;
    }

    public Date getDeadline() 
    {
        return deadline;
    }
    public void setProcessTime(Date processTime) 
    {
        this.processTime = processTime;
    }

    public Date getProcessTime() 
    {
        return processTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    public String getFeedbackPhone() {
        return feedbackPhone;
    }

    public void setFeedbackPhone(String feedbackPhone) {
        this.feedbackPhone = feedbackPhone;
    }

    public String getPlaceCode() {
        return placeCode;
    }

    public void setPlaceCode(String placeCode) {
        this.placeCode = placeCode;
    }

    public String getPlaceName() {
        return placeName;
    }

    public void setPlaceName(String placeName) {
        this.placeName = placeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("eventId", getEventId())
            .append("eventSource", getEventSource())
            .append("roomNum", getRoomNum())
            .append("roomName", getRoomName())
            .append("eventType", getEventType())
            .append("eventContent", getEventContent())
            .append("feedbackPerson", getFeedbackPerson())
            .append("feedbackUnit", getFeedbackUnit())
            .append("processor", getProcessor())
            .append("procDept", getProcDept())
            .append("procunit", getProcunit())
            .append("procMethed", getProcMethed())
            .append("procOpinions", getProcOpinions())
            .append("deadline", getDeadline())
            .append("processTime", getProcessTime())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
